﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using PQT.API;
using PQT.Controls;
using PQT.API.File;
using cbmobile.MasterUser.BLC_USER;
using cbmobile.BLC;

namespace cbmobile.MasterUser.UC_Page
{
    public partial class PhuKienKhac : System.Web.UI.UserControl
    {
        int pageside = 10;
        BLC_PhuKien nBLC = new BLC_PhuKien();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                BindDataList();
            }
        }


        protected string GetImagePath(object p_fileID)
        {
            string path = "ImagesPK/" + Convert.ToString(p_fileID);
            return path;

        }

        private void BindDataList()
        {
            DL_AccList.DataSource = nBLC.All_PhuKien();
            DL_AccList.DataBind();
        }
    }
}